<template>
  <div class="app-root">
    <header class="app-header">
      <h1>Micro Frontend App</h1>
      <nav class="app-nav">
        <router-link to="/">Home</router-link>
        <router-link to="/drawer">Drawer Demo</router-link>
        <router-link to="/form">Form Demo</router-link>
        <router-link to="/table">Table Demo</router-link>
        <router-link to="/formtable">Form Table Demo</router-link>
      </nav>
    </header>
    
    <main class="app-main">
      <router-view />
    </main>
  </div>
</template>

<script setup lang="ts">
// No additional logic needed
</script>

<style scoped>
.app-root {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  margin: 0;
  padding: 0;
}

.app-header {
  background-color: #f8f9fa;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-nav {
  display: flex;
  gap: 20px;
}

.app-nav a {
  color: #2c3e50;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.app-nav a:hover {
  background-color: #eaecef;
}

.app-nav a.router-link-active {
  color: #409eff;
  font-weight: bold;
}

.app-main {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
</style> 